import Vuex from "vuex";
import Vue from "vue";

import actions from "./actions";
import mutations from "./mutations";
import getters from "@/store/getters";

Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
    cartList: [],
    isLogin: false,
    browsingHistoryList: [],
    buyList: [],
  },
  mutations,
  actions,
  getters,
});
export default store;
